/* header部分开始 */
.navbar {
	margin: 0 auto;
}
.navbar li {
	padding: 0 16px;
	display: block;
	float: left;
}
.navbar li#sign-in, .navbar li#register {
	padding: 0 8px;
	float: right;
}
.navbar li a {
	display: block;
	font-size: 1.2em;
	font-weight: 600;
	line-height: 52px;
	text-decoration: none;
	transition: color 0.3s;
	-moz-transition: color 0.3s; /* Firefox 4 */
	-webkit-transition: color 0.3s; /* Safari 和 Chrome */
	-o-transition: color 0.3s; /* Opera */
}
.nav-icon {
	margin: 12px 22px;
	padding: 5px 6px;
	width: 14px;
	height: 14px;
	display: block;
	float: left;
	border: 1px solid #ccc;
	cursor: pointer;
	font-size: 14px;
	font-family: FontAwesome;
	text-align: center;
	text-shadow: 0 1px rgba(0, 0, 0, 0.2);
	text-decoration: none;
	color: #222;
	opacity: 0.6;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	-ms-transition: opacity 0.2s;
	transition: opacity 0.2s;
	position: relative;
}
.nav-icon:hover {
	border-color: #bbb;
	-webkit-transition: border-color 0.2s;
	-moz-transition: border-color 0.2s;
	-ms-transition: border-color 0.2s;
	transition: border-color 0.2s;
	text-decoration: none;
	opacity: 1;
}
@media screen and (max-width:479px) {
	#nav-container {
		position: relative;
	}
	#main-navbar {
		width: 100%;
		height: auto;
		border-bottom: 1px solid #ccc;
		background: #fafafa;
		position: absolute;
		top: 48px;
		left: -768px;
	}
	#main-navbar li,.navbar li#sign-in, .navbar li#register {
		padding: 0 24px;
		float: none;
		border-top: 1px solid #ccc;
	}
	#main-navbar li:hover {
		background: #eee;
		-webkit-transition: background 0.4s;
		-moz-transition: background 0.4s;
		-ms-transition: background 0.4s;
		transition: background 0.4s;
	}
	.navbar li a {
		line-height: 36px;
	}
	#register {
		box-shadow: 0 2px 4px 1px #ccc;
	}
}

#main-nav-toggle {
	display: none;
}
#main-nav-toggle:before {
	content: "\f0c9";
}
@media screen and (max-width:479px) {
	#main-nav-toggle {
		display: block;
	}
}
/* header结束 */

/* 文章列表开始 */
h4.title {
	margin: 0 8px 4px 8px;
	border-bottom: 1px solid #0884f6;
}
h4.title a {
	margin: 0 6px;
	padding: 0 2px 4px 2px;
	border-bottom: 1px solid #0884f6;
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1.5em;
	text-decoration: none;
	color: #0884f6;
}
.artical-list {
	margin: 0 auto;
	width: 100%;
}
.index-item {
	padding: 4px 0 4px 8px;
	border-bottom: 1px solid #ddd;
}
.index-item > div {
	margin: 2px 0;
}
.index-item a {
	font-size: 1.2em;
	font-weight: 700;
}
.index-item .item-meta {
	font-size: 0.7em;
	color: #999;
}
.index-item .item-meta span {
	margin-right: 8px;
}
.read-more {
	padding: 4px 0px;
	border: none;
}
.read-more {
	text-align: center;
}
.read-more a {
	font-size: 1em;
	font-weight: 500;
	text-decoration: none;
}
/* 文章列表结束 */

/* 关于开始 */
.about-us {
	text-align: left;
}
.about-us .details {
	padding: 4px 12px;
	text-align: center;
}
.about-us .details p {
	margin: 4px 0;
	font-size: 1em;
	text-indent: 1em;
	text-align: left;
}
/* 关于结束 */

/* footer开始 */
#footer a {
	color: #258fb8;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
#footer-info {
	color: #fff;
	line-height: 1.6em;
	font-size: 0.85em;
}
/* footer结束 */

/* button开始 */
.btn {
	margin: 2px 4px;
	padding: 4px 12px;
	display: inline-block;
	cursor: pointer;
	color: #fff !important;
	background-color: #0884f6;
	border: 1px solid transparent;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	font-size: 0.85em;
	font-weight: normal;
	line-height: 1.42857143;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	opacity: 0.7;
}
.btn -ms-touch-action:manipulation {
	touch-action: manipulation;
}
.btn -webkit-user-select:none -moz-user-select:none -ms-user-select:none {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.btn:hover {
	opacity: 0.9;
}
/* button结束 */

/* 对话框开始 */
#tinybox {
	padding: 4px 8px;
	display: none;
	border: 4px solid #E3E3E3;
	background: #ffffff no-repeat 50% 50%;
	z-index: 2000;
	position: absolute;
}
#tinymask {
	width: 100%; 
	height: 100%;
	display: none;
	background: #000000;
	z-index: 1500;
	position: absolute;
	top: 0;
	left: 0;
}
#tinycontent {
	font-size: 16px;
	background: #FFF;
}
#tinybox .btn {
	padding: 2px 8px;
}
.login-form {
	padding: 2px 12px;
}
/* 对话框结束 */
.reg-form {
	padding: 8px 14px;
}
.form-group {
  margin: 4px 0;
}
.form-group-lg .form-control {
  padding: 10px 16px;
  font-size: 1.2em;
  line-height: 1.33;
  border-radius: 6px;
}
.form-group-sm .form-control {
  padding: 10px 12px;
  font-size: 1em;
  line-height: 1.22;
  border-radius: 6px;
}
.form-group span {
	padding: 0 0 0 8px;
	font-family: '微软雅黑';
	font-size: 1em;
	line-height: 1.5;
	text-align: center;
}
.form-group label {
	padding: 4px 5px 4px 8px;
	width: 70px;
	float: left;
	font-family: '微软雅黑';
	text-align: right;
	color: #555;
}
.form-group-lg input {
	margin: 0 12px;
}
.form-group-sm input {
	margin: 0 auto;
}
.form-group input {
	padding: 4px 5px 4px 8px;
	outline: none;
	border: 1px solid #CCC;
	border-radius: 3px;
	font-size: 1em;
	line-height: 1.2;
	color: #444;
}
@media screen and (max-width: 768px) {
	.form-group label {
		text-align: left;
	}
}
.form-group input:focus,.form-group textarea:focus {
    box-shadow: 0 0 4px rgba(81, 203, 238, 1);
    -webkit-box-shadow: 0 0 4px rgba(81, 203, 238, 1);
    -moz-box-shadow: 0 0 4px rgba(81, 203, 238, 1);
    -o-box-shadow: 0 0 4px rgba(81, 203, 238, 1);
}
form a,form a:hover {
	text-decoration: none !important;
}
.form-group h4 {
	padding: 4px 5px 4px 8px;
	font-family: '微软雅黑';
	text-align: left;
	color: #555;
}
.form-group textarea {
	margin: 0 auto;
	padding: 8px 5px 4px 8px;
	width: 96%;
	min-height: 340px;
	overflow-x: hidden;
	background: rgba(255,255,255,0.2);
	outline: none;
	border: 1px solid #CCC;
	border-radius: 3px;
	font-size: 1em;
	line-height: 1.2;
	color: #444;
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

/* text state start */
.state1{
    color: #AAA;
}
.state2{
    color :#333;
}
.state3{
    color: #FF5842;
}
.state4{
    color: #508F2F;
}
/* text state end */
